 /**
 * 子模块路由
 * DHpai
 */

var router = function($urlRouterProvider, $stateProvider){

 	$stateProvider

    //套餐列表
    .state('app.packageList', {
        url: "/package/list",
        views: {
            'main@' : {
                template : require('./views/packageList.html'),
                controller : 'packageList',
            }
        },
        resolve:{
            
        }
    })

    //购买套餐
    .state('app.buyPackage', {
        url: "/package/buy",
        views: {
            'main@' : {
                template : require('./views/packageRole.html'),
                controller : 'packageRole',
            }
        },
        resolve:{
            
        }
    })

    //管理员给商户设定服务费标准
    .state('app.setServerFee', {
        url: "/serverfee/set",
        views: {
            'main@' : {
                template : require('./views/setServerFee.html'),
                controller : 'setServerFee',
            }
        },
        resolve:{
            
        }
    })


	;

};

module.exports = router;